package com.gxa.service;

import com.gxa.common.PaginationResult;
import com.gxa.pojo.Employee; /**
 * Created with IntelliJ IDEA.
 * User: tx
 * Date: 2020/11/02 17:34
 * Description:
 * Version: V1.0
 */
public interface EmployeeBaseService {

    /**
     * 添加
     * @param employee
     * @return
     */
    int addEmployeeBase(Employee employee);

    /**
     * 删除
     * @param employeeId
     * @return
     */
    int delEmployeeBase(Integer employeeId);

    /**
     * 更新
     * @param employee
     * @return
     */
    int updateEmployeeBase(Employee employee);

    /**
     * 条件查询
     * @param employee
     * @return
     */
    Employee queryEmployeeBaseByEmployeeId(Employee employee);

    /**
     * 总查询
     * @param currentPage
     * @param pageSize
     * @return
     */
    PaginationResult queryEmployeeBase(int currentPage, int pageSize);


}
